<template>
  <div class="content_box">
    <div class="home-content-box">
      <div class="home-head">
        <div class="user-msg">
          <div class="tx">
            <img src="@/assets/home-tx.png" alt="" />
            <p>李晓波<span>民警</span></p>
          </div>
          <div class="ts-msg">
            <p class="title">下午好，欢迎登录！</p>
            <p class="text">南岸区分局花园派出所</p>
          </div>
        </div>
      </div>

      <div class="nr-box">
        <div class="home-tab">
          <p class="on">全部任务</p>
          <p>逾期任务</p>
          <p>待办任务</p>
          <p>罚没任务</p>
          <p>退款任务</p>
        </div>

        <div class="list-box">
          <div class="box" v-for="item in 4">
            <div class="hd-tj">
              <div class="num-tj">
                <p class="title">逾期未处理</p>
                <p class="num">
                  <span class="red">1</span>/<span class="blue">1</span>/<span
                    >2</span
                  >
                </p>
              </div>
              <div class="line-box">
                <p></p>
              </div>
            </div>
            <div class="list">
              <div class="lt" v-for="item in 4">
                <div class="bt">
                  <p>案件名称：重庆西南贷款投资公司涉嫌骗取贷款</p>
                  <el-tag type="primary">待退款</el-tag>
                </div>
                <p class="num">案件编号：x5002308934782363412</p>
                <p class="name">嫌疑人：朱才洪</p>
                <div class="label">
                  <el-tag type="primary" style="margin-right: 8px"
                    >取保中</el-tag
                  >
                  <el-tag type="primary" style="margin-right: 8px"
                    >退款中</el-tag
                  >
                  <el-tag type="danger">逾期2天</el-tag>
                </div>
                <div class="price">
                  <p>
                    退款金额
                    <span>¥2,000.00</span>
                  </p>
                  <div class="anniu">
                    <el-button type="primary" plain>查看详情</el-button>
                    <el-button type="danger">立即审批</el-button>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div class="tj-box">
        <div class="left">
          <div class="left-top">
            <div class="bank-box">
              <div class="title">
                <p class="text">当前银行卡账户（余额）</p>
                <p class="bk">
                  招商
                  <span
                    ><text>默认卡</text
                    ><el-icon class="icon"><Switch /></el-icon
                  ></span>
                </p>
              </div>
              <p class="price"><span>￥</span>35,200.00</p>
              <div class="updata">
                <div class="time">
                  <p class="text">更新时间</p>
                  <p class="t">2023-08-11 13:28:15</p>
                </div>
                <img src="@/assets/home-icon1.png" alt="" />
              </div>
              <div class="back-num">
                <p class="num">3778 **** **** 1234</p>
                <p class="copy">复制</p>
              </div>
            </div>

            <div class="total-price">
              <p class="title">缴费总额</p>
              <div class="nr">
                <div class="title1">
                  <p class="text">缴费总额</p>
                  <p class="label">今日</p>
                </div>
                <p class="price"><span>￥</span>6,100.00</p>
                <div class="hb">
                  <el-icon style="margin-right: 4px"><CaretTop /></el-icon>
                  环比 12%
                </div>
                <img class="bj" src="@/assets/home-bj1.png" alt="" />
              </div>
            </div>

            <div class="entry-box">
              <div class="top">
                <div class="entry">
                  <div class="title1">
                    待入账总额
                    <p>今日</p>
                  </div>
                  <p class="price"><span>￥</span>6,100.00</p>
                  <div class="hb">
                    <el-icon style="margin-right: 4px"><CaretBottom /></el-icon>
                    环比 12%
                  </div>
                </div>

                <div class="entry" style="margin-left: 45px">
                  <div class="title1">
                    待入账总额
                    <p>今日</p>
                  </div>
                  <p class="price"><span>￥</span>6,100.00</p>
                  <div class="hb">
                    <el-icon style="margin-right: 4px"><CaretBottom /></el-icon>
                    环比 12%
                  </div>
                </div>
              </div>

              <div class="bottom">
                <div class="entry">
                  <div class="title1">
                    待入账总额
                    <p>今日</p>
                  </div>
                  <p class="price"><span>￥</span>6,100.00</p>
                  <div class="hb">
                    <el-icon style="margin-right: 4px"><CaretTop /></el-icon>
                    环比 12%
                  </div>
                </div>
                <img class="bj" src="@/assets/home-bj2.png" alt="" />
              </div>
            </div>
          </div>

          <div class="left-bottom">
            <div class="tips">
              <p class="title">待办提醒</p>
              <div class="tips-box">
                <div>
                  <img src="@/assets/home-tj-icon1.png" alt="" />
                  <div>
                    <p class="text">当前案件总数</p>
                    <p class="num">3404 <span>件</span></p>
                  </div>
                </div>
                <div>
                  <img src="@/assets/home-tj-icon1.png" alt="" />
                  <div>
                    <p class="text">取保中</p>
                    <p class="num">3404 <span>件</span></p>
                  </div>
                </div>
                <div>
                  <img src="@/assets/home-tj-icon1.png" alt="" />
                  <div>
                    <p class="text">待缴款</p>
                    <p class="num">26,000.00 <span>元</span></p>
                  </div>
                </div>
                <div>
                  <img src="@/assets/home-tj-icon1.png" alt="" />
                  <div>
                    <p class="text">没收金额</p>
                    <p class="num">59,000.00 <span>元</span></p>
                  </div>
                </div>
                <div>
                  <img src="@/assets/home-tj-icon1.png" alt="" />
                  <div>
                    <p class="text">待解除</p>
                    <p class="num">3404 <span>件</span></p>
                  </div>
                </div>
                <div>
                  <img src="@/assets/home-tj-icon1.png" alt="" />
                  <div>
                    <p class="text">待退款</p>
                    <p class="num">3404 <span>件</span></p>
                  </div>
                </div>
                <div>
                  <img src="@/assets/home-tj-icon1.png" alt="" />
                  <div>
                    <p class="text">待退款金额</p>
                    <p class="num">33,000.00 <span>元</span></p>
                  </div>
                </div>
                <div>
                  <img src="@/assets/home-tj-icon1.png" alt="" />
                  <div>
                    <p class="text">当前案件总数</p>
                    <p class="num">3404 <span>件</span></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>

        <div class="right">
          <div class="remind">
            <p class="title">待办提醒</p>
            <div>
              <div>
                <p class="text">待对账（笔）</p>
                <p class="num">8</p>
              </div>
              <div>
                <p class="text">待对账（笔）</p>
                <p class="num">8</p>
              </div>
            </div>
            <div>
              <div>
                <p class="text">待退费（笔）</p>
                <p class="num">8</p>
              </div>
              <div>
                <p class="text">待罚没（笔）</p>
                <p class="num">8</p>
              </div>
              <div>
                <p class="text">异常退费（笔）</p>
                <p class="num">8</p>
              </div>
            </div>
          </div>

          <div class="us-gn">
            <p class="title">常用功能</p>
            <div class="icon-box">
              <div>
                <img src="@/assets/home-gn-icon1.png" alt="" />
                <p>帮助中心</p>
              </div>
              <div>
                <img src="@/assets/home-gn-icon2.png" alt="" />
                <p>缴费台账</p>
              </div>
              <div>
                <img src="@/assets/home-gn-icon3.png" alt="" />
                <p>取保管理</p>
              </div>
              <div>
                <img src="@/assets/home-gn-icon4.png" alt="" />
                <p>退款账台</p>
              </div>
            </div>
          </div>
        </div>
      </div>

      <qb-money-tj/>

      <qb-case-tj/>
    </div>
    <br /><br /><br /><br />
  </div>
</template>
<script setup lang="ts">
import qbMoneyTj from './components/qbMoneyTj/index.vue'
import qbCaseTj from './components/qbCaseTj/index.vue'
</script>
<style scoped lang="scss">
.home-content-box {
}

.home-head {
  width: 100%;
  height: 250px;
  background: url(../../assets/home_img2.png) no-repeat;
  background-size: 100% 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;

  .user-msg {
    margin-left: 60px;
    display: flex;
    align-items: center;

    .tx {
      text-align: center;
      margin-right: 70px;
    }

    img {
      width: 100px;
      height: 100px;
    }

    p {
      font-size: 20px;
      color: #fff;
      margin-top: 10px;

      span {
        display: inline-block;
        border-radius: 5px;
        border: 1px solid #98ffff;
        font-size: 16px;
        color: #98ffff;
        padding: 2px 6px;
        margin-left: 10px;
      }
    }

    .ts-msg {
      color: #ffffff;

      .title {
        font-size: 26px;
        font-weight: 500;
        margin-bottom: 30px;
      }

      .text {
        font-size: 20px;
        color: #e6ecff;
      }
    }
  }
}

.nr-box {
  background: #fff;
  margin-top: 34px;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
  .home-tab {
    display: inline-block;
    height: 50px;
    line-height: 50px;
    background: #f3f6fa;
    border-radius: 50px;
    font-size: 18px;
    color: #9aa5b8;
    margin-bottom: 30px;
    p {
      display: inline-block;
      width: 200px;
      cursor: pointer;
      text-align: center;
      &.on {
        background: #1c55d1;
        border-radius: 50px;
        color: #fff;
      }
    }
  }
  .list-box {
    display: flex;
    justify-content: space-between;
    .box {
      width: 24.2%;
    }
    .hd-tj {
      padding-bottom: 17px;
      width: 100%;
      border-radius: 8px;
      box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.15);
    }
    .num-tj {
      display: flex;
      font-size: 16px;
      padding: 17px 16px;

      .title {
        margin-right: 30px;
      }
      .num {
        color: #999999;
        .red {
          color: #f64040;
        }
        .blue {
          color: #1c55d1;
        }
      }
    }
    .line-box {
      height: 6px;
      border-radius: 50px;
      background: #ecf0f4;
      position: relative;
      margin: 15px 16px 0 15px;
      p {
        width: 50%;
        position: absolute;
        height: 6px;
        border-radius: 50px;
        background: #f64040;
        top: 0;
        left: 0;
      }
    }
    .list {
      height: 40vh;
      overflow: auto;
      padding: 3px;
      // /* 滚动条 */
      &::-webkit-scrollbar {
        width: 0px;
      }

      &::-webkit-scrollbar-track {
        background-color: transparent;
      }

      &::-webkit-scrollbar-thumb {
        width: 8px;
        background-color: rgb(193, 193, 193, 0.8);
        border-radius: 10px;
      }
      .lt {
        padding: 17px 16px;
        margin-top: 15px;
        border-radius: 8px;
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.15);
        .bt {
          display: flex;
          justify-content: space-between;
          margin-bottom: 7px;
          p {
            width: 80%;
            font-size: 14px;
          }
        }
        .num,
        .name {
          font-size: 14px;
          margin-bottom: 10px;
        }
        .price {
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-top: 20px;
          p {
            display: flex;
            align-items: center;
            font-size: 14px;
            color: #999;
            span {
              font-size: 20px;
              color: #1c55d1;
              margin-left: 8px;
            }
          }
        }
        .anniu {
          display: flex;
        }
      }
    }
  }
}
.tj-box {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  .left {
    width: 67%;
  }
  .left-top {
    display: flex;
    justify-content: space-between;
  }
  .bank-box {
    background: #ffffff;
    border-radius: 14px;
    width: 35%;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
    .title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 25px 25px 0 25px;
      .text {
        color: #718ebf;
        font-size: 14px;
      }
      .bk {
        color: #343c6a;
        font-size: 13px;
        cursor: pointer;
        display: flex;
        align-items: center;
        span {
          display: inline-block;
          padding: 4px 8px;
          text-align: center;
          border-radius: 2px;
          background: rgba(87, 156, 255, 0.1);
          font-size: 13px;
          color: #579cff;
          margin-left: 4px;
          text {
            margin-right: 4px;
          }
        }
      }
    }
    .price {
      font-size: 30px;
      color: #343c6a;
      margin-left: 22px;
      margin-top: 10px;
      span {
        font-size: 24px;
      }
    }
    .updata {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 25px 9px 25px;
      border-bottom: 1px solid #dfeaf2;
      .time {
        position: relative;
        top: 10px;
      }
      .text {
        font-size: 12px;
        color: #718ebf;
      }
      .t {
        font-size: 15px;
        color: #343c6a;
        margin-top: 8px;
      }
      img {
        width: 156px;
      }
    }
    .back-num {
      display: flex;
      justify-content: space-between;
      padding: 28px 25px 0 25px;
      .num {
        font-size: 22px;
      }
      .copy {
        width: 52px;
        height: 26px;
        line-height: 26px;
        border-radius: 50px;
        background: rgba(52, 60, 106, 0.05);
        font-size: 13px;
        text-align: center;
        color: #343c6a;
        cursor: pointer;
      }
    }
  }
  .total-price {
    width: 25%;
    padding: 0 9px;
    border-radius: 8px;
    background: linear-gradient(311deg, #579cff 7%, #007aff 85%);
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
    padding-bottom: 7px;
    .title {
      height: 50px;
      line-height: 50px;
      color: #fff;
      font-size: 17px;
      font-weight: 500;
      margin-left: 5px;
    }
    .nr {
      background: #fff;
      border-radius: 4px;
      .title1 {
        padding: 16px 9px 4px 17px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .text {
          font-size: 16px;
          color: #343c6a;
        }
        .label {
          display: inline-block;
          padding: 4px 8px;
          text-align: center;
          border-radius: 2px;
          background: rgba(87, 156, 255, 0.1);
          font-size: 13px;
          color: #579cff;
          margin-left: 4px;
        }
      }
      .price {
        font-size: 26px;
        color: #fb532f;
        margin-left: 12px;
        margin-top: 10px;
        span {
          font-size: 20px;
        }
      }
      .hb {
        margin: 12px 0 0 15px;
        color: #007aff;
        font-size: 12px;
        display: flex;
        align-items: center;
      }
      .bj {
        width: 100%;
      }
    }
  }

  .entry-box {
    width: 35%;
    .top {
      background: #fff;
      padding: 18px 20px 23px 20px;
      border-radius: 14px;
      box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
      display: flex;
    }
    .entry {
      .title1 {
        display: flex;
        align-items: center;
        color: #718ebf;
        font-size: 14px;
        p {
          display: inline-block;
          padding: 4px 8px;
          text-align: center;
          border-radius: 2px;
          background: rgba(87, 156, 255, 0.1);
          font-size: 13px;
          color: #579cff;
          margin-left: 6px;
        }
      }
      .price {
        font-size: 26px;
        color: #343c6a;
        margin-top: 10px;
        font-weight: 500;
        span {
          font-size: 20px;
        }
      }
      .hb {
        margin: 8px 0 0 0;
        color: #ff4a4a;
        font-size: 12px;
        display: flex;
        align-items: center;
      }
    }
    .bottom {
      background: #fff;
      padding: 18px 20px 23px 20px;
      border-radius: 14px;
      box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 20px;
      .hb {
        color: #007aff;
      }
      .bj {
        width: 110px;
        height: 57.1px;
      }
    }
  }
  .left-bottom {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    height: 250px;
    .title {
      margin: 20px 28px 0 28px;
      font-size: 18px;
      font-weight: bold;
      color: #3d3d3d;
      padding-top: 19px;
    }
    .tips-box {
      margin: 0 28px 0 28px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;

      img {
        width: 46px;
        height: 46px;
      }
      & > div {
        width: 25%;
        display: flex;
        align-items: center;
        cursor: pointer;
        margin-top: 30px;
        div {
          height: 56px;
          display: flex;
          flex-direction: column;
          justify-content: space-around;
          margin-left: 9px;
          .num {
            font-size: 18px;
            font-weight: bold;
            color: #333333;
            span {
              font-size: 12px;
              color: #999;
              margin-left: 6px;
              font-weight: 500;
            }
          }
          .text {
            color: #999999;
            font-size: 14px;
          }
        }
      }
    }
  }
  .right {
    width: 31%;
    .remind {
      padding: 17px 22px;
      background: #fff;
      box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
      border-radius: 8px;
      .title {
        font-size: 18px;
        color: #3d3d3d;
      }
      & > div {
        display: flex;
        border-bottom: 1px solid #d8d8d8;
        margin-top: 36px;
        padding-bottom: 30px;
        &:last-child {
          border-bottom: none;
        }
        div {
          margin-right: 60px;
          &:last-child{
            margin-right:0;
          }
        }
        .text {
          font-size: 14px;
          color: #3d3d3d;
          margin-bottom: 20px;
        }
        .num {
          font-size: 14px;
          color: #ff6a00;
        }
      }
    }

    .us-gn {
      padding: 17px 22px;
      background: #fff;
      border-radius: 8px;
      margin-top: 17px;
      height: 194px;
      .title {
        font-size: 18px;
        color: #3d3d3d;
      }
      .icon-box {
        display: flex;
        justify-content: space-between;
        margin-top: 40px;
        cursor: pointer;
        img {
          width: 61px;
          height: 61px;
          margin-bottom: 10px;
        }
        p {
          font-size: 14px;
          color: #3d3d3d;
        }
      }
    }
  }
}

</style>
  